home *** CD-ROM | disk | FTP | other *** search
- Path: li.ee.ufl.edu!dan
- From: dan@PROBLEM_WITH_INEWS_DOMAIN_FILE (Daniel Wang)
- Newsgroups: comp.lang.c
- Subject: Help: RS232 comm. in sun UNIX
- Date: 2 Apr 1996 17:58:32 GMT
- Organization: University of Florida
- Message-ID: <4jrps8$28o@no-names.nerdc.ufl.edu>
- NNTP-Posting-Host: li.ee.ufl.edu
- Keywords: RS232 communication
- X-Newsreader: TIN [version 1.2 PL2]
-
- Dear Netters,
- I have a problem to write a program to output
- ASCII characters from SUN serial port ("/dev/sttyb")
- to RS232 Terminal.
- I used ioctl(fd, TIOCSETP, &mode) to set the
- communication parameters. Unfortuantely, my terminal
- device only get some garbages.
- I know my terminal device is Board rate 300,
- 7 data bits, 1 stop bits with no flow control and
- parity check. The communication was successful on
- PC using bios call.
- If you know how to do it or know where to
- get the hlep, please e-mail me to "dan@li.ee.ufl.edu".
- Thank you very very much.
-
- --
- Sincerely,
-
- Daniel C. Wang
-
- Department of Electrical and Computer Engineer
- University of Florida
- dan@li.ee.ufl.edu (352)392-4900
-